package com.chenyuxin.ilp.model.dto.plan;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;
@Data
public class UpdatePlanDto {
    @NotNull
    private Long id;
    @Size(max = 20,message = "清单标题的最大长度为20")
    private String planName;
    private Long categoryId;
    @Size(max = 10,message = "标签的最大长度为10")
    private String label;
    private LocalDateTime startTime;
    private LocalDateTime overdueTime;
    private LocalDateTime remindTime;
    @Size(max = 200,message = "备注的最大长度为200")
    private String remark;
}
